package com.contest.ws;

import java.io.Serializable;

/**
 * webSocket用户
 */
public class WsUser implements Serializable {

    /**
     * 谁发的消息
     */
    private String userId;
    private String userName;
    private String avatar;
    /**
     * 1:房间模式
     * 0:客服模式
     */
    private Integer type;
    //场次id、
    private String sessionId;
    //房间ID
    private String roomId;
    //房间名称
    private String roomName;
    //赛事名称
    private String raceName;

    public String getRaceName() {
        return raceName;
    }

    public void setRaceName(String raceName) {
        this.raceName = raceName;
    }

    /**
     * 客服编号

     */
    private String serviceNo;
    //发送内容
    private String content;
    //发送时间
    private String sendTime;
    //消息类型-1:普通聊天,0:单场下注,1:大小单双,2:总场胜负,3:特码下注
    private String msgType;
    private String bettingNum;
    //赛事id
    private String raceId;
    //战队id
    private String clanId;
    private String clanName;
    //下注金额
    private float amount;
    private Integer resultType;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getServiceNo() {
        return serviceNo;
    }

    public void setServiceNo(String serviceNo) {
        this.serviceNo = serviceNo;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getBettingNum() {
        return bettingNum;
    }

    public void setBettingNum(String bettingNum) {
        this.bettingNum = bettingNum;
    }

    public String getRaceId() {
        return raceId;
    }

    public void setRaceId(String raceId) {
        this.raceId = raceId;
    }

    public String getClanId() {
        return clanId;
    }

    public void setClanId(String clanId) {
        this.clanId = clanId;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }

    public Integer getResultType() {
        return resultType;
    }

    public void setResultType(Integer resultType) {
        this.resultType = resultType;
    }

    public String getClanName() {
        return clanName;
    }

    public void setClanName(String clanName) {
        this.clanName = clanName;
    }
}
